package com.orange.cas.server.common;

import java.io.Serializable;

public class ResultMessage<T> implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7838710737975346582L;
	private String code;	
	private String msg;
	private T data;
	
	public ResultMessage(){
		this.code = "000000";
		this.msg = "成功";
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMessage(String msg) {
		this.msg = msg;
	}

	public Object getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
}
